package com.zerdoor.service;

import com.zerdoor.model.UserInfo;
import com.zerdoor.model.UserInfo;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * Created by xiaobo on 2014/9/4.
 */
public interface LoginService {
    /**
     * 登录验证
     * @return
     */
    public boolean verifyLogin(UserInfo tuser,Map<String, String> loginMap, HttpServletRequest request);
    /**
     * 获取用户
     * @return
     */
    public UserInfo getTuserByName(String name);
}
